<%-- 
    Document   : jsonGrabarNumeracion
    Created on : 29/08/2011, 02:02:08 AM
    Author     : DINA
--%>

<%@ page contentType="application/json; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="pe.gob.pnp.despachadores.*" %>
<%@ page import="pe.gob.pnp.actions.*" %>
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>
<%
    String nnuex_identificador=request.getParameter("nnuex_identificador");
    String nnuex_limiteinferior= (request.getParameter("nnuex_limiteinferior")==null ||request.getParameter("nnuex_limiteinferior").equals(""))?"0":request.getParameter("nnuex_limiteinferior") ;
    String nnuex_valoractual=  (request.getParameter("nnuex_valoractual")==null ||request.getParameter("nnuex_valoractual").equals(""))?"0":request.getParameter("nnuex_valoractual");
    boolean flag =false;
    try {
        flag =  TramiteDespachador.actualizarNumeracionExpediente(Integer.parseInt(nnuex_identificador),Integer.parseInt(nnuex_limiteinferior),Integer.parseInt(nnuex_valoractual));
    } catch (Exception er) {
        er.printStackTrace();
        flag = false;
    }
%>
{
    resultado:<%=flag%>
}